﻿using RepositoryEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRepositoryBll
{
    public interface IWorkFlow_InstanceBll : IBaseDeleteBll<WorkFlow_Instance>
    {
        /// <summary>
        /// 分页
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="count"></param>
        /// <param name="description"></param>
        /// <returns></returns>
        object GetWorkFlow_InstancelListByPage(int page, int limit, out int count, string description);


        bool AddWorkFlow_Instance(WorkFlow_Instance workFlow_Instance, string departmentId, out string msg);

       /// <summary>
       /// 作废操作
       /// </summary>
       /// <param name="workFlow_instanceId"></param>
       /// <param name="userInfo"></param>
       /// <returns></returns>
        bool CancelWorkFlow_Instance(string workFlow_instanceId, UserInfo userInfo);
    }
}
